﻿		<div class="right">
				<div class="sidebar">
					<div class="sidebartitle">
						<h3>最新文章</h3>
					</div>
					<div class="sidebarcontext">
					%for dairy in sidebar['blog']:
						<p><a href="/blog/${dairy.year}/${dairy.month}/${dairy.day}/${dairy.url}.html">${dairy.title[0:20]}...</a><span style="color:#000">(${dairy.readtimes})</span></p>
					%endfor
					</div>
				</div>
				<div class="sidebar">
					<div class="sidebartitle">
						<h3>最新评论</h3>
					</div>
					<div class="sidebarcontext">
						%for comment in sidebar['comment']:
						<p>${comment.content[0:20]}...</p>
						%endfor
					</div>
				</div>
				<div class="sidebar">
					<div class="sidebartitle">
						<h3>最新留言</h3>
					</div>
					<div class="sidebarcontext">
						%for entry in sidebar['guestbook']:
						<p>${entry.content[0:20]}...</p>
						%endfor
					</div>
				</div>
				<div class="sidebar">
					<div class="sidebartitle">
						<h3>文章分类</h3>
					</div>
					<div class="sidebarcontext">
						%for category in sidebar['category']:
						<p><a href="/blog/category/${category.category}">${category.category}</a></p>
						%endfor
					</div>
				</div>
				<div class="sidebar">
					<div class="sidebartitle">
						<h3>文章标签</h3>
					</div>
					<div class="sidebarcontext">
						%for tag in sidebar['tag']:
						<span><a href="/blog/tag/${tag.tag}" style="font-size:<% fontsize = tag.num + 12 %>${ fontsize }px;">${tag.tag}</a></span>
						%endfor
					</div>
				</div>
				
			</div>
		